abf3822da981dec0f82bbc74fe1bbef757307256,src/main/java/mousio/etcd4j/transport/EtcdKeyResponseHandler.java,EtcdKeyResponseHandler,channelRead0,#ChannelHandlerContext#FullHttpResponse#,39

Before Change


        this.client.connect(this.request);
        // Closing the connection which handled the previous request.
        ctx.close();
        logger.warn("redirect for " + this.request.getHttpRequest().uri() + " to " + response.headers().get("Location"));
      } else {
        this.promise.setFailure(new Exception("Missing Location header on redirect"));
      }

After Change


        this.client.connect(this.request);
        // Closing the connection which handled the previous request.
        ctx.close();
        if (logger.isDebugEnabled()) {
          logger.debug(
              "redirect for " + this.request.getHttpRequest().uri() + " to " + response.headers()
                  .get("Location"));
        }
      } else {
        this.promise.setFailure(new Exception("Missing Location header on redirect"));